bug fix in openacc.c for device partitioning