libhwc2.1: Add helper function for drm interface This patch adds functions for conversion of type between hal type and drm interface specific type. Change-Id: I7887abc8565167fd62fd06e21f871a8011be73f2 Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>