Add flag-only bitwise operations to llptr.

This allows for modifying only the flags without requiring the more
expensive code path of reference acquisition.