Optomechanical coupling in the Anderson-localization regime