HPCC-11600 Generate a deprecated warning for RECORD as an attribute

This would be very hard to implement using the new parser (since RECORD
isn't matched with an END), so mark as deprecated to give time to change.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>