Fixed bitfieldInsert and bitfieldExtract