Enforce offset range limitations for GETBIT and SETBIT

Addresses #401
Merge branch 'hotfix/bitops_offset'