[android] Fix headers publishing in aar (#56068)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/56068
Test Plan: Imported from OSS
Reviewed By: dreiss
Differential Revision: D27776655
Pulled By: IvanKobzarev
fbshipit-source-id: 75e07b56dab8f7ff2ab501d0ddc4566ef2378fcf