Changed < XE5 $ERROR to $WARN

Changed ERROR directive on compilers below XE5 to a warning to allow use
on earlier versions.