[media] xc4000: pull in firmware management code from xc3028