Support `Layout` type for the `measurement_layout` argument in `POVMImplementation.__init__`. Currently, only an optional list of integers is supported.