opkg: MEIP-275- re-work on opkg lock file patch

Apply opkg lock file patch only when ro rootfs is configured

Signed-off-by: Sanjeev Chugh <sanjeev_chugh@mentor.com>
Merge pull request #34 from sanjeevc/MEIP-275

opkg: MEIP-275- re-work on opkg lock file patch