Check proof-of-stakiness based on block header
In several places, we do a check similar to `com.consensus == ConsensusType.POS` to determine block validation rules - similar to #2322 the block should be checked based on its own header information rather than a global com state.
