Const'ify the flag arrays

Signed-off-by: Andrew Clayton <andrew@digital-domain.net>