The error in systemd log is not caused by the APM option itself but by the failed attempt by hdparm to write output messages to a non existent output. On my system a command in /lib/udev/hdparm expands to
/sbin/hdparm -B254 -q -S119 /dev/sdg The -q (quiet) option of hdparm applies only to a single following option so that the -B254 option status is written to the unavailable output and generates the IO error. Note that the following command (-S119) is executed even after this error.