I found that DROP OWNED BY can cause $SUBJECT.
How to reproduce the error:
----CREATE USER foo;ALTER DEFAULT PRIVILEGES GRANT ALL ON SEQUENCES TO foo;DROP OWNED BY foo;----
Attached patch would fix this issue.
Regards,-- Shigeru Hanada