libata: fix handling of port actions in per-dev action mask