[AC21.4] Fix handling of the read-only attribute bit