Generalized Weyl modules for twisted current algebras