add size parameter for dp_prealloc_get_context. Change-Id: I0171124cf35010e793c18d4c8f6916497f053f8d CRs-Fixed: 3222817