I don't think errors=panic is discouraged, this is likely just an oversight from the time when the errors=remount-ro option was never being specified and the warning message was added to ensure that this wasn't missed.
To fix this problem, I think the right approach is to change the code to check for any errors= option being specified. However, this is complicated by the way that the code is currently implemented, since for it sets errors=remount-ro into default_mountopts in ldiskfs_prepare_lustre(), and then later checks in check_mountfsoptions() whether those default options are present.
There isn't really an easy way to change this currently, though I think it would be better to change the osd_prepare_lustre() method to be passed only actual mountopts string, ldd_mount_opts[] and its maximum size, instead of passing the default_mountopts and always_mountopts back to the caller. That would allow ldiskfs_prepare_lustre() to verify the mountopts string to handle cases like this, store the defaults into ldd_mount_opts[], and append any user-specified values to override the default values.
Landed for 2.8