pwcli: cmd_commit(): store selected patches to dedicated selected[] array
pwcli: cmd_commit(): store selected patches to dedicated selected[] array

This way we can avoid the cumbersome index handling in rest of the method.

Signed-off-by: Kalle Valo <7081a7d99b8c74c0698a728df19e3915a995d7e1@codeaurora.org>

kvalo/pwcli,kvalo/pwcli