makedevs: Set permissions on existing device nodes

:Release Notes:
makedevs wasn't changing the permissions on device nodes (or
directories) to match what's specified in the device table if they
already existed when makedevs is executed. Now it does.

:Detailed Notes:
First patch is backported from newer oe-core, second is our addition.

:Testing Performed:
Compared permissions in /dev with what's defined in the device table.

:QA Notes:

:Build Notes:
Requires:
https://g2g.palm.com/4047

:Issues Addressed:
[GF-52901] Backport Yocto 1.5 (Dora) version of makedevs and add patch
           to set permissions even if device nodes already exist
[GF-5397]  makedevs recipe doesn't pass global LDFLAGS to the linker

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I998a6fc455693e71b3d5afabcbcbdb04cf6e1351
Reviewed-on: https://g2g.palm.com/4048
Reviewed-by: DCO Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>